package org.jeecg.modules.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.poi.ss.formula.functions.T;
import org.jeecg.modules.entity.ServiceWorkOrder;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.entity.WorkOrder;
import org.jeecg.modules.vo.ServiceWorkOrderVo;

import java.util.List;

public interface WorkOrderMapper extends BaseMapper<WorkOrder> {
    /**
     * 查询
     * @param page
     * @param serviceWorkOrderVo
     * @return
     */
    List<ServiceWorkOrderVo> findServiceWorkOrder(@Param("page") Page page, @Param("serviceWorkOrderVo") ServiceWorkOrderVo serviceWorkOrderVo);

    /**
     * 查询数量
     * @param serviceWorkOrderVo
     * @return
     */
    int countServiceWorkOrder(ServiceWorkOrderVo serviceWorkOrderVo);

}
